|
Command: |
To delete audit records from the HSM Audit Trail buffer. |
|
Notes: |
This command cannot be added to the list of commands to be audited. Starting at the oldest audit record in the HSM it allows between one and 2000 audit records to be deleted. Only audit records that have been archived, and had their archived flag set to 1, can be deleted. This command requires Authorised State.
|
|
Field |
Length & Type |
Details |
|
COMMAND MESSAGE |
||
|
Message Header |
m A |
Will be returned to the Host unchanged |
|
Command Code |
2 A |
Value “Q6” |
|
Audit Delete Mode |
1 N |
Delete mode, as follows: |
|
End Message Delimiter |
1 C |
Optional. Must be present if a message trailer is present. Value X'19 |
|
Message trailer |
n A |
Optional. Maximum length 32 characters. |
|
RESPONSE MESSAGE |
||
|
Message Header |
m A |
Will be returned to the Host unchanged |
|
Response Code |
2 A |
Value “Q7” |
|
Error Code |
2 N |
00 – No error |
|
Deleted Count |
4 N |
Number of audit records deleted, from 0001 to 2000. |
|
End Message Delimiter |
1 C |
Will only be present if present in the command message. Value X'19 |
|
Message Trailer |
n A |
Will only be present if in the command message. Maximum length 32 characters |